<?php

namespace MoChat\App\Home\Service;

use MoChat\App\Home\Contract\TenantContract;
use MoChat\App\Home\Model\Tenant;
use MoChat\Framework\Service\AbstractService;

class TenantService extends AbstractService implements TenantContract
{
    /**
     * @var Tenant
     */
    protected $model;

    public function getDetailById($id, array $filed = ['*']): array
    {
        return $this->model->getOneById($id,$filed);
    }
}